package ace.model;

import java.sql.Timestamp;

import web.annotation.Column;
import web.annotation.Entity;
import web.annotation.Key;

@Entity
public class Icon {
	@Key
	private Integer id;
	private String icon;
	@Column("create_time")
	private Timestamp createTime;
	@Column("update_time")
	private Timestamp updateTime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "Icon [id=" + id + ", icon=" + icon + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}
	
}
